package com.cloud.edu.sys.model;

import java.util.Date;

public class UserLoginLog {
    private String id;

    private String userId;

    private String accountName;

    private Date loginTime;

    private String loginIp;

    public UserLoginLog(String id, String userId, String accountName, Date loginTime, String loginIp) {
        this.id = id;
        this.userId = userId;
        this.accountName = accountName;
        this.loginTime = loginTime;
        this.loginIp = loginIp;
    }

    public UserLoginLog() {
        super();
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public String getAccountName() {
        return accountName;
    }

    public void setAccountName(String accountName) {
        this.accountName = accountName == null ? null : accountName.trim();
    }

    public Date getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(Date loginTime) {
        this.loginTime = loginTime;
    }

    public String getLoginIp() {
        return loginIp;
    }

    public void setLoginIp(String loginIp) {
        this.loginIp = loginIp == null ? null : loginIp.trim();
    }
}